package com.atguigu.mybatiplus.service.impl;

import com.atguigu.mybatiplus.mapper.UserMapper;
import com.atguigu.mybatiplus.pojo.entity.User;
import com.atguigu.mybatiplus.service.UserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

@Service

public class UserServiceImpl extends ServiceImpl<UserMapper,User> implements UserService {

    @Override
    public List<User> getUserListByName(String name) {
        return baseMapper.getUserListByName(name);
    }
}
